<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            border-collapse: collapse;
        }
        th,td{
            padding:10px;
            text-align: center;
        }
        
        ul{
            /* display: table; =>table */
            display: table;
        }
        li{
            /* table-cell => td */
            display: table-cell;
            list-style: none;
            width:80px;
            text-align: center;
        }
    </style>
</head>
<body>
    <!-- table HTML / table-CSS (float+position)
    tr 行
    td/th 列 
    caption  table的标题

    div+CSS
    -->
    <!-- 完整版table -->
    <table>
        <thead>
            <tr>
                <td></td>
            </tr>
        </thead>   
        <tbody>
            <tr>
                <td></td>
            </tr>
        </tbody>   
        <tfoot>
            <tr>
                <td></td>
            </tr>
        </tfoot>
    </table>

    <!-- 简版table -->
    <caption>学生信息统计</caption> 
    <table border="1">
        <tr>
            <th>姓名</th>
            <th>性别</th>
            <th>年纪</th>
            <th>分数</th>
        </tr>
        <tr>
            <td>小红</td>
            <td>女</td>
            <td>18</td>
            <td>100</td>
        </tr>
        <tr>
            <td>小红</td>
            <td>女</td>
            <td>18</td>
            <td>100</td>
        </tr>
        <tr>
            <td>小红</td>
            <td>女</td>
            <td>18</td>
            <td>100</td>
        </tr>
    </table>

    <div class="table">
        <ul>
            <li>姓名</li>
            <li>性别</li>
            <li>年纪</li>
            <li>分数</li>
        </ul>
    </div>
</body>
</html>